package com.ming.Config;

import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.text.SimpleDateFormat;

/**
 * @Author:weiming
 * @Date:2020/11/16
 */
//@Configuration
//public class JacksonConfig {
//
//    @Bean
//    public  ObjectMapper getObjectMapper(){
//        ObjectMapper mapper = new ObjectMapper();
//        mapper.setDateFormat(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"));
//        return mapper;
//    }
//
//}
